package com.qzsoft.zhjd.cement.modules.cementalarm.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName CementAlarmEntity
 * @Description 水稳预警信息
 * @author linhuawei
 * @since 2022-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("n_cement_alarm")
public class CementAlarmEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;// 主键
    private Integer gravel1;// 集料1占比预警
    private Integer gravel2;// 集料2占比预警
    private Integer gravel3;// 集料3占比预警
    private Integer gravel4;// 集料4占比预警
    private Integer gravel5;// 集料5占比预警
    private Integer gravel6;// 集料6占比预警
    private Integer powder1;// 水泥1占比预警
    private Integer powder2;// 水泥2占比预警
    private Integer water;// 水占比预警
    private Integer alarm;// 预警
    private String details;// 预警详情
    private Integer state;// 状态，0未处理，1已处理
    private String alarmReason;// 问题原因
    private String handlerPlan;// 处理方案
    private String handlerResult;// 处理结果
    private Date handlerTime;// 处理时间
    private String handlerPerson;// 处理人

}
